let option = {
  locale: 'zh-CN',
  styles: {
    grid: {
      horizontal: {
        style: 'solid',
        color: 'rgb(33,36,51)',
      },
      vertical: {
        show: false,
      },
    },
    yAxis: {
      position: 'right',
      axisLine: {
        color: 'rgb(33,36,51)',
      },
    },
    candle: {
      // type: 'area',
      //candle_up_stroke
      type: 'candle_up_stroke',
      area: {
        backgroundColor: [
          {
            offset: 0,
            color: 'rgba(33, 150, 243, 0.01)',
          },
          {
            offset: 1,
            color: 'rgba(33, 150, 243, 0.01)',
          },
        ],
      },
      bar: {
        upColor: 'rgb(255,61,61)',
        downColor: 'rgb(0,169,178)',
        noChangeColor: '#888888',
        upBorderColor: 'rgb(255,61,61)',
        downBorderColor: 'rgb(0,169,178)',
        noChangeBorderColor: '#888888',
        upWickColor: 'rgb(255,61,61)',
        downWickColor: 'rgb(0,169,178)',
        noChangeWickColor: '#888888',
      },
    },
  },
};

export { option };
